package com.example.movie.service.impl;

import com.example.movie.dao.HomePageDao;
import com.example.movie.entity.TVideoType;
import com.example.movie.service.HomePageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("HomePageService")
public class HomePageServiceImpl implements HomePageService {

    @Resource
    HomePageDao homePageDao;
    @Override
    public List<TVideoType> getHomePageType() {
        return homePageDao.getAllMovieType();
    }
}
